using System;
using Tecnicas.CasoEstudio.Back.Dominio;

namespace Tecnicas.CasoEstudio.Front.Console
{
	/// <summary>
	/// Summary description for Class1.
	/// </summary>
	class Principal
	{
		/// <summary>
		/// The main entry point for the application.
		/// </summary>
		[STAThread]
		static void Main(string[] args)
		{
            System.Console.WriteLine("Ejemplo Pelicula TP1");
            System.Console.WriteLine("-------------------------");
			Pelicula m1 = new Pelicula("Shrek", Pelicula.INFANTIL);
            Pelicula m2 = new Pelicula("King Kong", Pelicula.REGULAR);
            Pelicula m3 = new Pelicula("King Kong II", Pelicula.ESTRENO);
            Pelicula m4 = new Pelicula("Babel", Pelicula.ESTRENO);
			Cliente c = new Cliente("Jose");
			Alquiler r1 = new Alquiler(m1, 1);
			Alquiler r2 = new Alquiler(m2, 3);
			c.AddAlquiler(r1);
			c.AddAlquiler(r2);
            System.Console.WriteLine(c.getReporte());
            System.Console.WriteLine("-------------------------");

            Cliente c2 = new Cliente("Pedro");
            Alquiler r3 = new Alquiler(m3, 1);
            Alquiler r4 = new Alquiler(m4, 3);
            c2.AddAlquiler(r3);
            c2.AddAlquiler(r4);
            System.Console.WriteLine(c2.getReporte());
            System.Console.WriteLine("-------------------------");


            string r = System.Console.ReadLine();
            System.Console.WriteLine(r);
		}
	}
}
